package com.sth.wiki.mapper;

import com.sth.wiki.entity.Ebook;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sth.wiki.entity.EbookExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口 asdfasgerwergasdf
 * </p>
 *
 * @author sth
 * @since 2023-11-03
 */
@Mapper
public interface EbookMapper extends BaseMapper<Ebook> {
    List<Ebook> selectByExample(EbookExample example);

    int insert(Ebook record);

    int updateByPrimaryKey(Ebook record);

    int deleteByPrimaryKey(Long id);
}
